package com.hava.film.timeline.xmeml.v5.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;
import java.util.ArrayList;

@JacksonXmlRootElement(localName = "xmeml")
public class Xmeml {

    //作为node的attr
    @JacksonXmlProperty(isAttribute = true)
    public String version;

    //一个或者多个元素
    @JacksonXmlProperty(localName = "project")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Project> project = new ArrayList<Project>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "sequence")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Sequence> sequence = new ArrayList<Sequence>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "bin")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Bin> bin = new ArrayList<Bin>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "clip")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Clip> clip = new ArrayList<Clip>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "importoptions")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Importoptions> importoptions = new ArrayList<Importoptions>();

}
